package com.fqgj.xjd.user.client;

import com.fqgj.common.api.Response;
import com.fqgj.xjd.user.client.response.UserActionLogResponse;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-05-10
 * Time: 17:16
 * <p>
 * 一些用户行为的记录服务
 */

public interface UserLogService {

    /**
     * @param action 行为
     * @param detail 明细
     * @return 说明：该方法尽量写活，底层方便转发扩展
     */
    Response log(String action, String detail);



    Response<List<UserActionLogResponse>>   queryByTypeAndValues(Integer type, List<String> values);
}
